package online.lmds.sdmanage.main.upload_image.dao;

import online.lmds.sdmanage.main.base.UploadImage;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 上传图片记录
 * @author Sunny  An
 *
 */
@Repository("UploadImageDao")
public interface UploadImageDao {
    
    /**
     * 保存上传图片记录
     */
    void save(@Param("e") UploadImage e);
    
    
    /**
     * 返回指定检索条件的图片数量
     * URL + admin_id
     * URL + user_id
     * URL + businessId
     */
    int count(@Param("e") UploadImage e);

}
